package com.rxcloud.securityoauth.mapper;

import com.rxcloud.securityoauth.entity.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ruoxi
 * @since 2021-04-30
 */
@Mapper
public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    List<SysPermission> findByAdminUserId(@Param("userId")Integer userId);
}
